package com.example.oasystem.dao.dept;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.oasystem.entity.dept.AoaDept;
import com.example.oasystem.entity.user.AoaUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AoaDeptDao extends BaseMapper<AoaDept> {
    List<AoaDept> selectAll();
    AoaUser selectDeptManagerById(Long deptId);
}
